import {
  page as basePage, list as baseList,
  get as baseGet, post as basePost, put as basePut
} from '@/api/base/connBase'

const pro = 'api/sys/open'

export function page(module, data) {
  return basePage(pro, module, data)
}

export function list(module, data) {
  return baseList(pro, module, data)
}

export function get(module, id) {
  return baseGet(pro, module, id)
}

export function post(module, data) {
  return basePost(pro, module, data)
}

export function put(module, data) {
  return basePut(pro, module, data)
}
